%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Date   :   10th September 2009.
%% Purpose:   Template for IST theses.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
\documentclass[11pt,twoside,onecolumn,a4paper,openright]{book}

\usepackage{istthesis}
	
\title{O Título da Dissertação}
\author{Nome Completo do Autor}
%\coverfigure{images/exampleimage.pdf}
\submitdate{Setembro de 2009}  % Comment out if you want the current date.
\copyrightyear{2009}           % Comment out if you want the current year. 
\thesisadvisor{Nome do(a) Orientador(a)}{1}
\thesiscoadvisor{Nome do(a) Co-orientador(a)}{2}
\currentdegree{Grau Académico do Autor da Dissertação}
\thesisdepartment{Departamento de Engenharia Informática}
\thesiscourse{Engenharia Informática e de Computadores}
\thesisdegree{Mestre}
\thjuri[Prof. Doutor Nome do Presidente do Júri][Prof. Doutor Nome do Vogal 1][Prof.$^{\underline{a}}$ Doutora Nome do Vogal 2]

\begin{document}

\beforepreface
\input{abstract.tex}
\cleardoublepage
\input{acknowledgements.tex}
\cleardoublepage
\afterpreface

\input{chapter1}
\cleardoublepage

\input{chapter2}
\cleardoublepage

\input{chapter3}
\cleardoublepage

\input{chapter4}
\cleardoublepage

\input{chapter5}
\cleardoublepage 

\bibliographystyle{jmb}
\addcontentsline{toc}{chapter}{Bibliografia}
\bibliography{thesis}
\cleardoublepage
\addcontentsline{toc}{chapter}{Apêndices}

\appendix
\input{appendix1}
\cleardoublepage
\input{appendix2}

\end{document}
